<?php
/*
 * 进云智能生成平台
 * [JINYUN!] (C)2001-2099 Jinyunweb.com
 * This is NOT a freeware, use is subject to license terms
 * $Id: 2017-12-13 03:39:35 apple $
 */

defined('BY_JYA') or exit('error');
global $_RQ,$_AR;
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
$return=array();
$return['setting']=$this->plugin_setting('basic');
$uniacid=$_SESSION['uniacid'];
if($_RQ['op']=='main'){
	if(empty($_RQ['area'])){
		exi('请选择区域！','error','/area/');
	}
	//查询楼宇
	$buildings=pdo_getall('jy_smallquan_building',array('area'=>trim($_RQ['area']),'uniacid'=>$_SESSION['uniacid']));
	$return['buildings']=$buildings;
	
	exi($return);
}

		
		


